package cn.gmy.day0721_JavaIO;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class TestReader {
	public static void main(String[] args) throws IOException {
		/*FileWriter fw = new FileWriter("C:\\Users\\wang\\Desktop\\eat.txt");
		BufferedWriter bw = new BufferedWriter(fw);
		bw.newLine();*/
		
		FileReader fr = new FileReader("C:\\Users\\wang\\Desktop\\eat.txt");
		BufferedReader br = new  BufferedReader(fr);
		System.out.println(br.readLine());
		/*System.out.println(br.readLine());
		System.out.println(br.readLine());*/
	}
}
